<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
	   	<title>搜索课程</title>
	    <link href="/static/weike/css/style.css" rel="stylesheet">
	    <script src="/static/weike/js/style.js"></script>
	    <script src="/static/js/jquery.js"></script>
	</head>
	<body class="index_research">
		<input type="hidden" value="{$loadmore_mohu}" class="_url" />
		<footer class="fixed">
			<section onclick="javascript:window.location.href='http://mg.bonayiyou.com/index/home/home.html'" id="f_click"><div></div><p>首页</p></section>
			<section onclick="javascript:window.location.href='http://mg.bonayiyou.com/index/home/weike_center.html'"><div></div><p>微课中心</p></section>
			<section onclick="javascript:window.location.href='http://mg.bonayiyou.com/index/home/person_center.html'"><div></div><p>我的</p></section>
		</footer>
		<!-- <header class="ind_header">
			<div class="search">
				<button>
					<div>
						<span></span>
						<span>搜索课程</span>
					</div>
				</button>
			</div>
		</header> -->
		<article class="all_show_art" style="margin-top: 1.06rem;">
		 {volist name="room" id="vo"}
				<section onclick="javascript:window.location.href='http://mg.bonayiyou.com/index/home/class_pay.html?room_id={$vo.room_id}'">
					<div>
						<div>
							<img src="{$vo.cover}" />
						</div>
					</div>
					<article>
						<h5>{$vo.title}</h5>
						<p>讲师：{$vo.teachername}</p>
						<p><span>{$vo.zhuangtai}</span><span>{$vo.popul_num}人气</span><span>￥{$vo.room_price|money_baoliu}</span></p>
					</article>
				</section>
		{/volist}
		</article> 
		<div class="research choose" id="reclick">
			<div class="search">
				<button class="re_click"><!--点击搜索-->
					<div>
						<span></span>
					</div>
				</button>
				<form action="javascript:search();">
				<input placeholder="搜索课程" id="search" />
				</form>
				<a class="re_back" onclick="javascript:window.location.href='http://mg.bonayiyou.com/index/home/home.html'">
					取消
				</a>
			</div>
		</div>
		<script type="text/javascript">
        function search()
        {
        $text=$("#search").val();
        window.location.href="http://mg.bonayiyou.com/index/home/index_research?key="+$text;
        }
	    </script>
	</body>
</html>
